package com.android.zhushou.ui.activites;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import android.widget.TextView;

import com.android.zhushou.R;
import com.android.zhushou.base.BaseActivity;
import com.android.zhushou.cache.CacheHelper;
import com.android.zhushou.cache.ReadCacheAsyncTask;
import com.android.zhushou.cache.SaveCacheAsyncTask;
import com.android.zhushou.entity.Content;
import com.android.zhushou.ui.fragment.ReviewContentListFragment;
import com.android.zhushou.ui.view.LoadingLayout;
import com.android.zhushou.ui.view.ScrollViewEx;
import com.android.zhushou.utils.TDevice;
import com.android.zhushou.utils.WebViewHelper;

import cn.bmob.v3.BmobQuery;
import cn.bmob.v3.listener.GetListener;

/**
 * 面试题，详细内容
 */
public class InterviewDetailActivity extends BaseActivity {
    private TextView mContent;
    private TextView mContentTitle;

    @Override
    protected void onBeforeSetContentLayout() {
        super.onBeforeSetContentLayout();
        setContentView(R.layout.activity_detail_inter);
        initToolBar();
        showOrHideToolBarNavigation(true);
        initView();
        setStatusBarCompat();
    }
    @Override
    public String returnToolBarTitle() {
        return "面试题详解!";
    }
    private void initView() {
        mContentTitle = (TextView) findViewById(R.id.tv_content_title);
        mContent = (TextView) findViewById(R.id.tv_content);

        Intent intents = getIntent();
        String titles = intents.getStringExtra("title");
        String content = intents.getStringExtra("content");

        mContentTitle.setText(titles);
        mContent.setText(content);
    }

}
